package com.zhaoxi.project.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import com.zhaoxi.framework.web.domain.TreeEntity;
import lombok.Data;

/**
 * 库存数量对象 wms_product_stock
 * 
 * @author zhaoxi
 * @date 2023-07-22
 */
@Data
public class WmsProductStock extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productCode;

    /** 单位 */
    @Excel(name = "单位")
    private String measureUnit;

    /** 入库批次号 */
    @Excel(name = "入库批次号")
    private String batchCode;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 库位ID */
    @Excel(name = "库位ID")
    private Long areaId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 生产厂商id */
    @Excel(name = "生产厂商id")
    private Long manufacturerId;

    /** 在库数量 */
    @Excel(name = "在库数量")
    private BigDecimal quantity;
    private String name;
    private String attrValue;
    private String price;
    private String specification;

    /** 库存有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "库存有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;


}
